package com.mybestcoding.model.acl;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mybestcoding.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 用户 */
@Data
@ApiModel(description = "用户")
@TableName("acl_user")
public class User extends BaseEntity {
  private static final long serialVersionUID = 3007872962492799206L;

  @ApiModelProperty(value = "用户名")
  @TableField("username")
  private String username;

  @ApiModelProperty(value = "密码")
  @TableField("password")
  private String password;

  @ApiModelProperty(value = "昵称")
  @TableField("nick_name")
  private String nickName;

  @ApiModelProperty(value = "用户头像")
  @TableField("salt")
  private String salt;

  @ApiModelProperty(value = "用户签名")
  @TableField("token")
  private String token;
}
